import { createMemoryHistory, createRouter } from 'vue-router'
import OpenLayer from '../view/openLayer/index.vue';
import Cesium from '../view/cesium/index.vue';

const routes = [
  { path: '/', component: OpenLayer },
  { path: '/cesium', component: Cesium },
];
const router = createRouter({
  history: createMemoryHistory(),
  routes,
});
export default router;

